package cn.qidisoft.edu.hzjt.model;

import java.io.InputStream;
import java.util.Date;

import org.springframework.web.multipart.MultipartFile;

public class ProjectMaterialFilepath extends OrderBean {

    private String        directoryMaterialFilepathId;

    private String        projectMaterialId;
    //文件系统名称
    private String        sysfilepath;
    //文件真实名称
    private String        filename;
    //文件路径
    private String        filepath;
    //上传时间
    private Date          uploadtime;
    //文件大小
    private String        filesize;
    //文件类型
    private String        entrytype;

    private byte[]        fileBin;
    //根据id生成名字不带后缀
    private String        fileNaneuuid;

    private MultipartFile mufile;

    private InputStream   inputStream;

    public String getDirectoryMaterialFilepathId() {
        return directoryMaterialFilepathId;
    }

    public void setDirectoryMaterialFilepathId(String directoryMaterialFilepathId) {
        this.directoryMaterialFilepathId = directoryMaterialFilepathId;
    }

    /**
     * Getter method for property <tt>projectMaterialId</tt>.
     * 
     * @return property value of projectMaterialId
     */
    public String getProjectMaterialId() {
        return projectMaterialId;
    }

    /**
     * Setter method for property <tt>projectMaterialId</tt>.
     * 
     * @param projectMaterialId value to be assigned to property projectMaterialId
     */
    public void setProjectMaterialId(String projectMaterialId) {
        this.projectMaterialId = projectMaterialId;
    }

    public String getSysfilepath() {
        return sysfilepath;
    }

    public void setSysfilepath(String sysfilepath) {
        this.sysfilepath = sysfilepath == null ? null : sysfilepath.trim();
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename == null ? null : filename.trim();
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath == null ? null : filepath.trim();
    }

    public Date getUploadtime() {
        return uploadtime;
    }

    public void setUploadtime(Date uploadtime) {
        this.uploadtime = uploadtime;
    }

    public String getFilesize() {
        return filesize;
    }

    public void setFilesize(String filesize) {
        this.filesize = filesize == null ? null : filesize.trim();
    }

    public String getEntrytype() {
        return entrytype;
    }

    public void setEntrytype(String entrytype) {
        this.entrytype = entrytype == null ? null : entrytype.trim();
    }

    /**
     * Getter method for property <tt>fileBin</tt>.
     * 
     * @return property value of fileBin
     */
    public byte[] getFileBin() {
        return fileBin;
    }

    /**
     * Getter method for property <tt>fileNaneuuid</tt>.
     * 
     * @return property value of fileNaneuuid
     */
    public String getFileNaneuuid() {
        return fileNaneuuid;
    }

    /**
     * Getter method for property <tt>mufile</tt>.
     * 
     * @return property value of mufile
     */
    public MultipartFile getMufile() {
        return mufile;
    }

    /**
     * Getter method for property <tt>inputStream</tt>.
     * 
     * @return property value of inputStream
     */
    public InputStream getInputStream() {
        return inputStream;
    }

    /**
     * Setter method for property <tt>fileBin</tt>.
     * 
     * @param fileBin value to be assigned to property fileBin
     */
    public void setFileBin(byte[] fileBin) {
        this.fileBin = fileBin;
    }

    /**
     * Setter method for property <tt>fileNaneuuid</tt>.
     * 
     * @param fileNaneuuid value to be assigned to property fileNaneuuid
     */
    public void setFileNaneuuid(String fileNaneuuid) {
        this.fileNaneuuid = fileNaneuuid;
    }

    /**
     * Setter method for property <tt>mufile</tt>.
     * 
     * @param mufile value to be assigned to property mufile
     */
    public void setMufile(MultipartFile mufile) {
        this.mufile = mufile;
    }

    /**
     * Setter method for property <tt>inputStream</tt>.
     * 
     * @param inputStream value to be assigned to property inputStream
     */
    public void setInputStream(InputStream inputStream) {
        this.inputStream = inputStream;
    }

}